package com.deuwise.system.service.impl;

import com.deuwise.system.entity.SysLayerDict;
import com.deuwise.system.service.SysLayerDictService;
import com.deuwise.system.mapper.SyslayerdictMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Syslayerdict 接口实现类
 *@author deuwise
 *@date 2020-05-15 09:51:27
 **/
@Service
public class SysLayerDictServiceImpl extends ServiceImpl<SyslayerdictMapper, SysLayerDict> implements SysLayerDictService {

    Logger logger= LoggerFactory.getLogger(SysLayerDictServiceImpl.class);

    /**
     * 获取已更新的版本号列表
     * @return
     */
    @Override
    public List<String> layerVersionList() {
        return baseMapper.layerVersionList();
    }

    /**
     * 获取指定版本图层的字段列表
     * @param param
     * @return
     */
    @Override
    public List<String> layerFieldList(Map<String, String> param) {
        return baseMapper.layerFieldList(param);
    }
}